package com.itheima.method;

public class Demo4Method {
    public static void main(String[] args) {
        System.out.println(method(10,50));//打印调用
    }
    public static int method(int a,int b){
        return a > b ? a : b;
    }
}
